package com.dianxin.farm.request.banner;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("上架表单")
public class TopRequest {

    @ApiModelProperty("需要置顶的heading的id")
    @NotNull(message = "请选择要置顶消息")
    private Integer headingId;

    @ApiModelProperty("置顶状态，当为1时置顶，传0 取消置顶。传其他值按无效处理")
    private Boolean topFlag;



}
